package org.dromara.system.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.system.domain.SysChatMessageMark;

/**
 * 用户消息标记业务对象 sys_chat_message_mark
 *
 * @author Lion Li
 * @date 2025-02-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = SysChatMessageMark.class, reverseConvertGenerate = false)
public class SysChatMessageMarkBo extends BaseEntity {

    /**
     * 用户状态ID
     */
    @NotNull(message = "用户状态ID不能为空", groups = {EditGroup.class})
    private Long id;

    /**
     * 标记人uid
     */
    private Long uid;

    /**
     * 消息ID
     */
    private Long msgId;

    /**
     * 消息状态 0正常 1取消
     */
    private Long status;

    /**
     * 标记类型 0踩、1点赞、2举报
     */
    private Long type;

    /**
     * 备注
     */
    private String remark;


}
